﻿using RpcModel;
using Wedonek.RpcStore.Gateway.Model;
using Wedonek.RpcStore.Service.Model;

namespace Wedonek.RpcStore.Gateway.Interface
{
    public interface IServerTransmitService
    {
        long Add(TransmitBasicAdd add);
        long Add(TransmitSchemeAdd add);
        void Delete(long id);
        ServerTransmitConfig Get(long id);
        ServerTransmitDatum[] Query(TransmitQueryParam query, IBasicPage paging, out long count);
        void Set(long id, TransmitSetParam set);
        void SetIsEnable(long id, bool isEnable);
    }
}